package yl.hs.bmipfull.pojo.system;

import org.springframework.lang.Nullable;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

/**
 * 作用:  图片信息实体类<br/>
 * 创建时间: 2021年05月13日 11时55分15秒 <br/>
 *
 * @author 张凯
 */
@DBTable(disName = "图片信息", mapCode = "image_info")
public class ImageInfoEntity extends BaseEntity {

    /**
     * 主键
     */
    @Nullable
    private Long id;
    /**
     * 编号
     */
    @DBField(disName = "图片编号", mapCode = "sn", isSerialNumber = true, isRequire = true, snPrefix = "IMAG")
    private String sn;
    /**
     * 文件名
     */
    private String filename;
    /**
     * 原始文件名
     */
    private String originalFilename;

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSn() {
        return this.sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getFilename() {
        return this.filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public String getOriginalFilename() {
        return this.originalFilename;
    }

    public void setOriginalFilename(String originalFilename) {
        this.originalFilename = originalFilename;
    }


}